from fastapi import APIRouter
from fastapi import Form

form_parameter = APIRouter()

@form_parameter.post("/items/")
def create_item(name: str = Form(), price: float = Form()):
    return {"name": name, "price": price}



